class GameSetting(object):
    """定义游戏配置参数"""

    def __init__(self):

        # 设置屏幕宽、高、背景色
        self.screen_width = 800
        self.screen_height = 600
        self.bg_color = (230, 230, 230)

        #  飞船的速度设置
        self.ship_speed_factor = 1.5

        # 子弹
        self.bullet_speed_factor = 1
        self.bullet_width = 3
        self.bullet_height = 15
        self.bullet_color = 60, 60, 60

